all: domino

domino: domino.cpp
	g++ -o domino domino.cpp

run: domino
	./domino

time: domino test.py
	./test.py --time

count: domino test.py
	./test.py --count

plot_time: plot_times time_err.dat
	./plot_times

plot_count: plot_counts counts.dat
	./plot_counts

plot_time3d: plot_times3d time_err.dat
	./plot_times3d

plot_count3d: plot_counts3d counts.dat
	./plot_counts3d

clean:
	rm time_err.dat counts.dat

time_err.dat: domino test.py
	./test.py --time

counts.dat: domino test.py
	./test.py --count
